# -*- conding:UTF-8 -*-

'''
@ Project: p7_flask
@ File: celeryconfig.py
@ Author: 师路遥
@ Date：2022/6/6 15:13

'''

#broker(消息中间件来接收和发送任务消息)
BROKER_URL = 'redis://:123456@127.0.0.1:6379/11'
#backend(存储worker执行的结果)
CELERY_RESULT_BACKEND = 'redis://:123456@127.0.0.1:6379/12'
#设置时间参照，不设置默认使用的UTC时间
CELERY_TIMEZONE = 'Asia/Shanghai'
